﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace OpenST.Tiles
{
    public class BaseTile
    {
        public int NoteNumber;
        public Texture2D Sprite;
        public bool color = true;
        public bool GetsSaved = false;
        public bool preview = false; // Tools can set this var to show their effect before it happens

        // Any data that should be saved should be placed inside this dictionary
        public Dictionary<string, object> TileData{ get; set;}

        public virtual void OnCreate(int x, int y)
        {

        }

        public BaseTile(ContentManager content)
        {
            TileData = new Dictionary<string, object>();
            //color = true;
        }

        public virtual void Process(Bug bug)
        {

        }

        public virtual void Update(GameTime gameTime)
        {

        }
    }
}
